#ifndef BASEGAME_H
#define BASEGAME_H
#include "EngineApi.h"
#include "Window.h"
#include "Graphics.h"
#include "Input.h"
#include "DirectInput.h"

class ENGINE_API BaseGame
{
	Window m_window;

public:
	bool Start();
	void Loop();
	void ShutDown();
	
protected:
	HINSTANCE m_hInstance;
	Graphics m_graphics;
	Input* m_pInput;
	
	BaseGame(HINSTANCE hInstance);
	virtual bool OnStart() = 0;
	virtual bool OnUpdate() = 0;
	virtual void OnDraw() = 0;
	virtual void OnShutDown() = 0;
};

#endif